package cn.qio.event;

import java.nio.channels.ClosedChannelException;

import cn.qio.channel.session.ChannelSession;

/**
 * 事件触发器
 * 
 * @author chenhua
 *
 */
public interface EventDispatcher {

	boolean isStarted();

	void start();

	void stop();

	void register(ChannelSession csession, int interOpts) throws ClosedChannelException;

}
